package com.dw.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dw.entity.Product;
import com.dw.mapper.ProductMapper;
import com.dw.service.ProductService;
import org.springframework.stereotype.Service;

/**
* @author deeps
* @description 针对表【product】的数据库操作Service实现
* @createDate 2025-08-16 11:44:28
*/
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product>
    implements ProductService {

    @Override
    public int reduceProduct(Long id) {
        return baseMapper.reduceProduct(id);
    }
}




